.fieldset
{
    height: auto;
}
fieldset.scheduler-border
{
    border: 1px solid #428bca;
    padding: 1.4em 1.4em 1.4em 1.4em !important;
    margin: 0 0 1.5em 0 !important;
    -webkit-box-shadow: 0px 0px 0px 0px #000;
    box-shadow: 0px 0px 0px 0px #000;
}
legend.scheduler-border
{
    width: inherit; /* Or auto */
    padding: 0 10px; /* To give a bit of padding on the left and right */
    border-bottom: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 900;
    background-color: #428bca;
    color: #fffffb;
    border-radius: 10px;
}